as Crud Repo
fun <ObjectType, IdType, InputValueType> MutableMap<IdType, ObjectType>.asCrudRepo(updateCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType, IdType, ObjectType) -> ObjectType, createCallback: suspend MutableMap<IdType, ObjectType>.(InputValueType) -> Pair<IdType, ObjectType>): MapCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard